package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.MirrorMenuEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;

/**
 * 镜像菜单配置
 * @author xingxing.xiao
 * @date 2020/01/09 16:20
 */
public interface MirrorMenuModel extends IModel<MirrorMenuEntity> {

    /**
     * 查询列表
     * @param param
     * @return
     */
    @Override
    List<MirrorMenuEntity> findEntitys(Map<String, Object> param);

    /**
     * 批量插入
     * @param list
     * @return
     */
    List<MirrorMenuEntity> insertBatch(List<MirrorMenuEntity> list);

    /**
     * 获取实体
     * @param key 主键id
     * @author xingxing.xiao
     * @date 2020/01/09 10:04
     */
    MirrorMenuEntity getByKey(Long key);
}
